{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "# bad case\n",
    "if condition_1 and condition_2 and condition_3:\n",
    "    do_something()\n",
    "\n",
    "# better No need new function just take them into one\n",
    "if (condition_1 and condition_2 and condition_3):\n",
    "    do_something()"
   ]
  }
 ],
 "metadata": {
  "language_info": {
   "name": "python"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
